package com.neuedu.spring.dao;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class RoleDao {

    @Resource
    private MyDataSource dataSource;

    public void sayDao() {
        System.out.println("dataSource = " + dataSource);
    }
}
